package it.cast.wechat.service;

import it.cast.wechat.pojo.Category;

import java.util.List;

public interface CategoryService {
    //增加菜系
    void addCategory(Category category);

    //修改菜系
    int modifyCategory(Category category);

    //根据id删除
    int deleteCategoryById(String categoryId);

    //根据id查询菜系
    Category queryCategoryById(String categoryId);

    //查询所有菜系
    List<Category> queryAllCategory();
}
